//
//  LCZMenuCollectionViewCell.m
//  PersonalNews
//
//  Created by dllo on 15/12/2.
//  Copyright © 2015年 changshuhua. All rights reserved.
//

#import "LCZMenuCollectionViewCell.h"

@implementation LCZMenuCollectionViewCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}
- (void)createView {
    self.menuLabel = [[LCZBaseLabel alloc] initWithFrame:CGRectMake(0, 0, 70, 30)];
    [self.contentView addSubview:self.menuLabel];
    self.menuLabel.textAlignment = NSTextAlignmentCenter;
}

- (void)setSelected:(BOOL)selected {
    [super setSelected:selected];
    if (selected) {
        self.menuLabel.textColor = [UIColor redColor];
    } else {
        self.menuLabel.textColor = [UIColor blackColor];
    }
}

@end
